Api.GetModuleConfiguration method

Gets the information of the configured device.

Namespace: IntervalZero.KINGSTAR.Local.Api

Assembly: IntervalZero.KINGSTAR.Local.Api (in IntervalZero.KINGSTAR.Local.dll) Version: 4.4.0.0

Syntax

C#VB
public KsReturn<ModuleConfiguration> GetModuleConfiguration(
       int ConfigurationIndex
)
Public Function GetModuleConfiguration(
       ConfigurationIndex As Integer
) As KsReturn(Of ModuleConfiguration)

Parameters

ConfigurationIndex

Type: int

The index of the configured device.

Return value

Type: KsReturn<ModuleConfiguration>

Returns a KsError code and a ModuleConfiguration value.

Usable EtherCAT states

ecatOffline, ecatInit, ecatBoot, ecatPreOP, ecatSafeOP, ecatOP

Examples

C#
N/A

See also

Api Class

IntervalZero.KINGSTAR.Local.Api Namespace